MODE=INACTIVE_NO_PULL_DO, INV=INPUT_NOT_INVERTED_, HYS=DISABLE_, FUNC=P1_22, SLEW=STANDARD, OD=DISABLE_
I/O configuration register for pin P1[22]
FUNC | Selects pin function for pin P1[22] 0 (P1_22): General purpose digital input/output pin. 1 (USB_RCV1): Differential receive data for USB port 1 (OTG transceiver). 2 (USB_PWRD1): Power Status for USB port 1 (host power switch). 3 (T1_MAT0): Match output for Timer 1, channel 0. 4 (MC_0B): Motor control PWM channel 0, output B. 5 (SSP1_MOSI): Master Out Slave In for SSP1. 6 (LCD_VD_8): LCD data. 7 (LCD_VD_12): LCD data. |
MODE | Selects function mode (on-chip pull-up/pull-down resistor control). 0 (INACTIVE_NO_PULL_DO): Inactive (no pull-down/pull-up resistor enabled). 1 (PULL_DOWN_RESISTOR_E): Pull-down resistor enabled. 2 (PULL_UP_RESISTOR_ENA): Pull-up resistor enabled. 3 (REPEATER_MODE_): Repeater mode. |
HYS | Hysteresis. 0 (DISABLE_): Disable. 1 (ENABLE_): Enable. |
INV | Invert input 0 (INPUT_NOT_INVERTED_): Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 1 (INPUT_INVERTED_HIGH): Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). |
RESERVED | Reserved. |
SLEW | Driver slew rate 0 (STANDARD): Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously. 1 (FAST): Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details. |
OD | Open-drain mode. 0 (DISABLE_): Disable. 1 (OPEN_DRAIN_MODE_ENAB): Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. |
RESERVED | Reserved. |